- 
		Home
	
- 
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments
- 
2.16.0
- 
Code
- 
Classes
-  Subscription 
		
			
				
					
													
								
																			
											| Total Complexity | 61 | 
																			
											| Dependencies | 4 | 
																			
											| Dependents | 7 | 
																	
							 
													
								
																			
											| Total lines | 492 | 
																			
											| Lines of code | 285 | 
																			
											| Logical lines of code | 137 | 
																	
							 
													
								
																			
											| Comment lines | 117 | 
																			
											| Methods | 17 | 
																			
											| Properties | 2 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 17
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| cancel() | S | 47 | 6 | 37 | 
					
				| renew() | S | 50 | 5 | 30 | 
					
				| complete() | S | 51 | 5 | 29 | 
					
				| upcomingPeriod() | S | 50 | 5 | 29 | 
					
				| update() | S | 51 | 5 | 26 | 
					
				| restore() | S | 52 | 5 | 25 | 
					
				| preserve() | S | 52 | 5 | 25 | 
					
				| payOff() | S | 52 | 5 | 25 | 
					
				| checkIfCanBeSwitched() | S | 59 | 5 | 15 | 
					
				| shouldDelayCancellation() | S | 59 | 4 | 13 | 
					
				| checkIfCanBeCanceled() | S | 65 | 3 | 9 | 
					
				| isLifetime() | S | 78 | 2 | 3 | 
					
				| checkIfCanUpdateQuantity() | S | 71 | 2 | 6 | 
					
				| canBeSwitched() | S | 79 | 1 | 3 | 
					
				| canBeCanceled() | S | 79 | 1 | 3 | 
					
				| canUpdateQuantity() | S | 79 | 1 | 3 | 
					
				| stats() | S | 75 | 1 | 4 |